<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h1>用户注册</h1>
  <form action="/register" method="post">
    <input type="text" name="username" placeholder="用户名"><br>
    <input type="text" name="gender" placeholder="性别"><br>
    <input type="text" name="phone" placeholder="手机号"><br>
    <input type="password" name="pwd" placeholder="密码"><br>
    <input type="password" name="pwd2" placeholder="确认密码"><br>
    <button>注册</button>
  </form>
  <!-- <script src="./jq.js"></script>
  <script>
    $.ajax({
      url: 'xxx/xxx/xxx',
      method: 'POST',
      data: {
        name: this.name,
        age: 18
      },
      success: function (res) {
        console.log(res.data);
      }
    })
  </script> -->
</body>
</html>